/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package visao;

/**
 *
 * @author charles.salles
 */
public class Principal extends javax.swing.JFrame {

    /**
     * Creates new form Principal
     */
    public Principal() {
        initComponents();
        this.setLocationRelativeTo(null);
        
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        panelTitulo = new javax.swing.JPanel();
        labelTitulo = new javax.swing.JLabel();
        panelPassos = new javax.swing.JPanel();
        labelPasso1 = new javax.swing.JLabel();
        labelPasso2 = new javax.swing.JLabel();
        labelPasso3 = new javax.swing.JLabel();
        labelPasso4 = new javax.swing.JLabel();
        labelPasso5 = new javax.swing.JLabel();
        panelDados = new javax.swing.JPanel();
        labelNome = new javax.swing.JLabel();
        campoNome = new javax.swing.JTextField();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        getContentPane().setLayout(new java.awt.GridLayout(3, 1));

        labelTitulo.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        labelTitulo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelTitulo.setText("Sistema Especialista");
        labelTitulo.setAlignmentX(0.1F);

        javax.swing.GroupLayout panelTituloLayout = new javax.swing.GroupLayout(panelTitulo);
        panelTitulo.setLayout(panelTituloLayout);
        panelTituloLayout.setHorizontalGroup(
            panelTituloLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(labelTitulo, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 593, Short.MAX_VALUE)
        );
        panelTituloLayout.setVerticalGroup(
            panelTituloLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelTituloLayout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addComponent(labelTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        getContentPane().add(panelTitulo);

        panelPassos.setLayout(new java.awt.GridLayout(1, 0));

        labelPasso1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelPasso1.setText("passo 1");
        panelPassos.add(labelPasso1);

        labelPasso2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelPasso2.setText("passo 2");
        panelPassos.add(labelPasso2);

        labelPasso3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelPasso3.setText("passo 3");
        panelPassos.add(labelPasso3);

        labelPasso4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelPasso4.setText("passo 4");
        panelPassos.add(labelPasso4);

        labelPasso5.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelPasso5.setText("passo 5");
        panelPassos.add(labelPasso5);

        getContentPane().add(panelPassos);

        labelNome.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        labelNome.setText("Nome");

        javax.swing.GroupLayout panelDadosLayout = new javax.swing.GroupLayout(panelDados);
        panelDados.setLayout(panelDadosLayout);
        panelDadosLayout.setHorizontalGroup(
            panelDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDadosLayout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(labelNome)
                .addGap(18, 18, 18)
                .addComponent(campoNome, javax.swing.GroupLayout.PREFERRED_SIZE, 293, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(228, Short.MAX_VALUE))
        );
        panelDadosLayout.setVerticalGroup(
            panelDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelDadosLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(panelDadosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNome)
                    .addComponent(campoNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(60, Short.MAX_VALUE))
        );

        getContentPane().add(panelDados);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JTextField campoNome;
    private javax.swing.JLabel labelNome;
    private javax.swing.JLabel labelPasso1;
    private javax.swing.JLabel labelPasso2;
    private javax.swing.JLabel labelPasso3;
    private javax.swing.JLabel labelPasso4;
    private javax.swing.JLabel labelPasso5;
    private javax.swing.JLabel labelTitulo;
    private javax.swing.JPanel panelDados;
    private javax.swing.JPanel panelPassos;
    private javax.swing.JPanel panelTitulo;
    // End of variables declaration//GEN-END:variables
}
